<?php
namespace app\web\api;
use app\src\user\enum\RegFromEnum;
use app\src\user\enum\RoleEnum;
use app\web\helper\WebApiHelper;

/**
 * Created by PhpStorm.
 * User: Gooraye
 * Date: 2017-06-03
 * Time: 13:53
 */
class InviteCodeApi
{

    /**
     * 商家接口
     */


    public static function getCode($code_type,$account_id)
    {
        $data = [
            'api_ver' => '100',
            'code_type' => $code_type,
            'account_id' => $account_id
        ];
        return WebApiHelper::callRemote('By_InviteCode_getCode', $data);
    }

}